<?php
/**
 * Enter description here ...
 * @author NgoAnhTu
 * @date 2013-10-13
 * @table(languages)
 *
 */
final class Language {
	
	/**
	 * The primary key of the Language
	 * @column(Code)
	 * @type(string)
	 * @key(indentify)
	 */
	public $code;
	
	/**
	 * Name of Language
	 * @unique(true)
	 * @column(Name)
	 * @type(string)
	 */
	public $name;
		
	/**
	 * Image of Language
	 * @column(Image)
	 * @type(string)
	 */
	public $image;

	/**
	 * Active status of Language
	 * @column(Active)
	 * @type(number)
	 */
	public $active;
	
	/**
	 * Constructor
	 * @param unknown $code
	 * @param string $name
	 * @param string $image
	 * @param number $active
	 */
	public function Language($code = '', $name = '', $image = '', $active = 0) {
		$this->code = $code;
		$this->name = $name;
		$this->image = $image;
		$this->active = $active;
	}
	
}
?>